package com.whl.cloud.fergn.fallback;

import org.springframework.stereotype.Component;

import com.whl.cloud.fergn.UserCenter;
import com.whl.cloud.model.UserInfoResult;

@Component
public class UserCenterFallbackService implements UserCenter{

	@Override
	public UserInfoResult getUserById(String id) {
		UserInfoResult result = new UserInfoResult();
		result.setId(id);
		result.setName("name-fallback" + id);
		return result;
	}
	

}
